#!/bin/bash
echo 'Start compilation'
pdflatex --main-memory=9000000 --extra-mem-top=9000000 --extra-mem-bot=8000000 --jobname $1 draw
rm -rf *.aux *.bbl *.blg *.log *.out *.spl
